import request from './request'

export const getHotCities = (limit = 6) => {
  return request({
    url: '/api/home/hot-cities',
    method: 'get',
    params: { limit }
  })
}

export const getHotNotes = (limit = 6) => {
  return request({
    url: '/api/home/hot-notes',
    method: 'get',
    params: { limit }
  })
}

export const getHotPlans = (limit = 6) => {
  return request({
    url: '/api/home/hot-plans',
    method: 'get',
    params: { limit }
  })
}

export const getFeaturedCommunity = (limit = 4) => {
  return request({
    url: '/api/home/featured-community',
    method: 'get',
    params: { limit }
  })
}

